package com.zhou.simulation.config;

import com.zhou.simulation.quartz.MailJob;
import org.quartz.*;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;

import javax.annotation.Resource;

/**
 * <p>
 *  开启一个定时任务配置
 * @author <a href="mailto:zhoujb@smartdot.com.cn">zhoujb</a>
 * @version 1.0, 2020/8/27
 */
@Configuration
@ImportResource(locations = {"classpath:job.xml"})
public class QuartzConfig {

}
